//
//  HomeBannerModel.m
//  
//
//  Created by 王长飞 on 2018/10/20.
//  Copyright © 2018年 王长飞. All rights reserved.
//

#import "InformationModel.h"

@implementation InformationModel

- (instancetype)initWithDelegate:(id<BaseModelProtocol>)Delegate cache:(BOOL)cache
{
    if (self = [super initWithDelegate:Delegate cache:cache]) {
        self.parseModelClass = [InformationResponse class];
    }
    return self ;
}
- (void)getInformationDataWith:(NSString *)infoId
{
    NSMutableDictionary *parameters = [NSMutableDictionary dictionaryWithCapacity:4];
    EFAppContext *appc = [EFAppContext sharedContext];
    [parameters setValue:EUInitId forKey:@"storeUnitId"];
    [parameters setValue:infoId forKey:@"id"];
    [self getPath:@"/xqn/app/information/informaitonDetail" parameters:parameters];
}

@end
